package com.huabo.contract.service;


import com.huabo.contract.oracle.entity.TblOrganization;
import com.huabo.contract.oracle.entity.TblStaff;

import java.math.BigDecimal;
import java.util.Map;

public interface TblStaffService {


    Map<String, Object> findAllPageBeanPid(Integer pageNumber, Integer pageSize, BigDecimal orgid, TblOrganization organization);

    Map<String, Object> findAllPageBeanPid(String pid, Integer pageNumber, Integer pageSize, String token, String staffId);

    Map<String, Object> findHttpClient(Integer formId, String jsonArry, String paramArry, String eleName, String valueId, Integer pageNumber, Integer pageSize, Integer queryType, Integer oldFormId, String textname);


    TblStaff findById(String toString);

    void updateTs(TblStaff ts);

//    void saveTs(TblStaff ts);

    TblStaff findByRolename(String rolename, String orgid);
    
    
    TblStaff getHistorycode(String historycode);

	void saveTs(TblStaff ts);
	
	public TblStaff findByStaffManOrgs(String orgid);
	
    public TblStaff findByJobName(String jobname, String orgid);
}
